<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/taglibs.jsp" %>

<table cellpadding="0" cellspacing="0" border="0" width="890">
	<tr>
		<td colspan="3" height="30"><img
			src="<c:url value="/resources/images/dot.gif" />" width="1"
			height="30" />
		</td>
	</tr>
	<tr>
		<td width="180">&nbsp;</td>
		<td width="600" valign="top" class="hl1"><fmt:message
				key="application.title" />
		</td>
		<td width="120" valign="top" align="right" rowspan="2"><img
			src="<c:url value="/" /><spring:theme code='headerpicture'/>" width="113" height="40">
		</td>
	</tr>
</table>

<table collspadding="0px" width="890px">
	<tr>
		<td height="20px"></td>
	</tr>
	<tr>
		<td width="180">&nbsp;</td>
		<td width="100px" align="left">
			<sec:authorize ifAnyGranted="ROLE_Guest">
			<c:url var="registerUrl" value="/register?_flowid=register-flow" />
			<a href="${registerUrl}">
				<fmt:message key="application.menu.frontend.register" />
			</a>
			</sec:authorize>
		</td>
		<td width="100px">
			
			<sec:authorize ifAnyGranted="ROLE_Admin">
			<c:url var="adminUrl" value="/admin/user/list" />
			<a href="${adminUrl}">
				<fmt:message key="application.menu.frontend.admin" />
			</a>
			</sec:authorize>
		</td>
		<td width="100px">
			<sec:authorize ifAnyGranted="ROLE_User">
			<c:url var="logoutUrl" value="/logout" />
			<a href="${logoutUrl}"><fmt:message key="button.logout" /></a>
			</sec:authorize>
		</td>
		<td width="410px"></td>
	</tr>
</table>
